package com.fm.base.database;

public interface DBDomainService<Domain> {
    String getName();

    void insert(final Domain dbo);

    Domain search(final DBDataFilter filter);

    DBResult<Domain> cursor(final DBDataFilter filter);

    void delete(final DBDataFilter filter);

    void save(final DBDataFilter filter, final Domain dbo);
}
